import Vue from 'vue'

//1.底部导航条
import { Tabbar, TabbarItem,  } from 'vant';
Vue.use(Tabbar).use(TabbarItem);

//2.加载中
import { Loading } from 'vant';
Vue.use(Loading);

//3图片懒加载
import { Image } from 'vant';
Vue.use(Image);

//4.提示
import { Toast } from 'vant';
Vue.use(Toast);

//5.蒙版提示
import { Dialog } from 'vant';
Vue.use(Dialog);

//6. 添加订单导航栏
import { NavBar } from 'vant';
Vue.use(NavBar);

//7. 地址
import { ContactCard, ContactList, ContactEdit } from 'vant';
Vue.use(ContactCard);
Vue.use(ContactList);
Vue.use(ContactEdit);

import { AddressList } from 'vant';
Vue.use(AddressList);

import { AddressEdit } from 'vant';
Vue.use(AddressEdit);

//8. 单元格
import { Cell, CellGroup } from 'vant';
Vue.use(Cell);
Vue.use(CellGroup);

//9. 提交订单栏
import { SubmitBar } from 'vant';
Vue.use(SubmitBar);

//10.宫格
import { Grid, GridItem } from 'vant';
Vue.use(Grid);
Vue.use(GridItem);

//11. 弹出层
import { Popup } from 'vant';
Vue.use(Popup);

//12. 日期组件
import { DatetimePicker } from 'vant';
Vue.use(DatetimePicker);

//13.卡片
import { Card } from 'vant';
Vue.use(Card);

//14. 选项卡
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);